#include <iostream>
#include <algorithm>
#include <vector>

using namespace std;

int main(int argc, char const *argv[])
{
    vector<int>myvector;
    myvector.resize(5);
    for(size_t i = 0; i < 5; i++)
    {
        myvector.push_back(i);
    }
    auto findIterator = find_if(myvector.begin(), myvector.end(), [](const int& Element){
        return Element % 2 == 0 && Element > 1;
    });
    if(findIterator != myvector.end())
    {
        cout << *findIterator << endl;
    }
    return 0;
}
